(window_min_size_2): New function.
authorMartin Rudalics <rudalics@gmx.at>
Mon, 6 Aug 2007 06:44:31 +0000 (06:44 +0000)
committerMartin Rudalics <rudalics@gmx.at>
Mon, 6 Aug 2007 06:44:31 +0000 (06:44 +0000)
commit563a7fcb1832afd5c2ab7405124714f1da0c29b6
tree4a8e46273e6d3626dc666c1c868f27d1f09926b6
parent83ee4165d7bfc13329f45f93f0ce843954045472
(window_min_size_2): New function.
(window_min_size_1, size_window, Fdisplay_buffer)
(Fsplit_window, adjust_window_trailing_edge): Use it to avoid
windows without mode- or header-lines when window-min-height is
too small.
(size_window): Reset nodelete_p after testing it, following an
earlier note by Kim F. Storm.
(display_buffer): Do not set split_height_threshold to twice the
value of window_min_height to avoid changing the value of a
customizable variable.  Rather explicitly check whether the
height of the window that shall be splitted is at least as large
as split_height_threshold.
(Fwindow_full_width_p): New defun.
(syms_of_window): Defsubr it.
(Fdisplay_buffer): Use NILP.
(Fset_window_scroll_bars): Likewise.
src/window.c